package com.hx.shape;

import android.graphics.Canvas;
import android.graphics.Paint;

public class HxLine extends Shape{
	public HxLine(){
		
	}
	public HxLine(float x,float y){
		super(x,y);
	}
	public String toString(){
		return "Line on ("+ sPnt.x + ","+ sPnt.y + "),(" + ePnt.x + "," + ePnt.y + ")";
	}
	public void paint(Canvas cv, Paint pt) {
		cv.drawLine(sPnt.x,sPnt.y,ePnt.x,ePnt.y,pt);
	}
}
